package com.ruoyi.system.ms.dataAuth.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 用于解析一些实体类层信息
 *
 * @Author: 马帅
 **/
@Data
public class DataAuthAnalysisEntityDto implements Serializable {

    //表名
    private String tableName;
    //类名
    private String clzName;
    //字段集合
    private List<SubClz> subClzList;

    @Data
    public static class SubClz{
        //java字段
        private String javaFiled;
        //表字段名
        private String sqlFiled;
        public SubClz(String javaFiled, String sqlFiled) {
            this.javaFiled = javaFiled;
            this.sqlFiled = sqlFiled;
        }
    }


}
